﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicDemo.ch3
{
    public class Person
    {
        public static string Country { get; set; }
        public int Id { get; set; }
        public string Name { get; set; }
        public string Gender { get; set; }  
        public string Age { get; set; }

        static Person()
        {
            Country = "China";
        }

        public Person() { }

        public Person(int id)
        {
            Id = id;
        }

        public Person(int id, string name) : this(id)
        {
            Name = name;
        }
    }
}
